Skip to content

Commit

Permalink
add window and linux workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
danghoangnhan committed Sep 26, 2023
1 parent ee302b9 commit 3abe006
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 1 deletion.
File renamed without changes.
37 changes: 37 additions & 0 deletions .github/workflows/window-app.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Windows Application

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

permissions:
contents: read

jobs:
build:

runs-on: windows-2019 # Specify Windows 10-like environment

steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: "3.8"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install wheel
if exist requirements.txt pip install -r requirements.txt
- name: Lint with flake8
run: |
# Stop the build if there are Python syntax errors or undefined names
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# Exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Test with pytest
run: |
make test
coverage xml
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# PAMSimulator

[![Build Status](https://github.com/danghoangnhan/PAMSimulator/actions/workflows/python-app.yml/badge.svg)](https://github.com/danghoangnhan/PAMSimulator/actions/workflows/python-app.yml)
[![Build Status](https://github.com/danghoangnhan/PAMSimulator/actions/workflows/python-app.yml/badge.svg)](https://github.com/danghoangnhan/PAMSimulator/actions/workflows/linux-app.yml)

[![Build Status](https://github.com/danghoangnhan/PAMSimulator/actions/workflows/python-app.yml/badge.svg)](https://github.com/danghoangnhan/PAMSimulator/actions/workflows/window-app.yml)

The PAMSimulator is a tool designed to conduct experiments based on the Perceptual Assimilation Model (PAM). This application allows researchers and linguists to create and administer PAM experiments for the study of speech sound perception and categorization.

Expand Down

0 comments on commit 3abe006

Please sign in to comment.