forked from edgetest-dev/run-edgetest-action
-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (32 loc) · 1.07 KB
/
test-action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# This workflow will install edgetest and edgetest-conda and run it on the run-edgetest-action
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Test edgetest action
on:
push:
branches: [dev, main]
pull_request:
branches: [dev, main]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ "3.11" ]
steps:
- uses: actions/checkout@v2
- uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: true
python-version: ${{ matrix.python-version }}
channels: conda-forge
- name: Install edgetest edgetest-conda and edgetest-pip-tools
run: conda install edgetest edgetest-conda edgetest-pip-tools
- name: Run edgetest action
uses: ./
with:
edgetest-flags: '--config=setup.cfg --export'
base-branch: 'dev'
skip-pr: 'false'
python-version: ${{ matrix.python-version }}