Release 3.11.1.3 (#84) #113
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "CI" | |
on: | |
push: | |
branches: [ master, develop ] | |
pull_request: | |
branches: [ master, develop ] | |
jobs: | |
tests: | |
strategy: | |
matrix: | |
python-version: | |
- 310 | |
- 311 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2.4.0 | |
- uses: cachix/install-nix-action@v15 | |
with: | |
nix_path: nixpkgs=channel:nixos-unstable | |
extra_nix_config: | | |
system-features = benchmark kvm | |
- name: Run tests on Python${{ matrix.python-version }} | |
run: | | |
nix-shell --argstr pyVersion ${{ matrix.python-version }} --run \ | |
"pip install -e . && pip install -r requirements/test.txt && pip install -r requirements/extras/third_party.txt && pytest --cov=typeit" | |
- name: Coveralls | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: | | |
nix-shell --argstr pyVersion ${{ matrix.python-version }} --arg isDevEnv false --run "coveralls --service=github" |